#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(int argc,char *argv[])
{
	const char *str = "中文测试";
	FILE *fp = fopen("log.txt","w");

	if(fp==NULL)
		exit(EXIT_FAILURE);
	fputs(str,fp);

	fclose(fp);

	exit(EXIT_SUCCESS);
}

